//
//  HttpController.m
//  WebSocketTest
//
//  Created by tanqilong on 16/9/29.
//  Copyright © 2016年 tanqilong. All rights reserved.
//

#import "HttpController.h"
#import "CMBaseHttpDao.h"

@interface HttpController ()
@property (nonatomic,strong) CMBaseHttpDao * http;
@end

@implementation HttpController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    self.http = [[CMBaseHttpDao alloc]initWithUrl:@"http://ipad-bjwb.bjd.com.cn/DigitalPublication/publish/Handler/APINewsList.ashx?date=20131129&startRecord=1&len=5&udid=1234567890&terminalType=Iphone&cid=213" Parameters:nil IndicatorView:nil LoadingFinished:^(NSObject *resulte) {
//        NSLog(@"%@",resulte);
    } CancelLoading:nil LoadingError:^(id resulte) {
        
    }];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
